/*
 * Created on 2006-9-15
 *
 * Organization: BearingPoint Inc.
 */
package com.eaoa.uc.genemenu.action;

/**
 * 
 */
public class MenuPermissionLink implements Comparable {

	private Long linkid;

	private String linkname;

	private Long linkorder;
	
	private String linkurl;

	private String check = "N";

	public Long getLinkid() {
		return linkid;
	}

	public void setLinkid(Long linkid) {
		this.linkid = linkid;
	}

	public String getLinkname() {
		return linkname;
	}

	public void setLinkname(String linkname) {
		this.linkname = linkname;
	}

	public Long getLinkorder() {
		return linkorder;
	}

	public void setLinkorder(Long linkorder) {
		this.linkorder = linkorder;
	}

	public int compareTo(Object arg0) {
		return linkorder.compareTo(((MenuPermissionLink) arg0).getLinkorder());
	}

	public String getCheck() {
		return check;
	}

	public void setCheck(String check) {
		this.check = check;
	}

	public String getLinkurl() {
		return linkurl;
	}

	public void setLinkurl(String linkurl) {
		this.linkurl = linkurl;
	}

}
